#include <QApplication>
#include <QDir>
#include "dexclip.h"

QString DexClip::homePath = QDir::toNativeSeparators(QDir::homePath());

int main(int argc, char *argv[])
	{
		QApplication a(argc, argv);
		a.setQuitOnLastWindowClosed(false);

		QString dirstr = "/.Dexios/DexClip";

		DexClip::homePath += QDir::toNativeSeparators(dirstr);
		QDir dir(DexClip::homePath);
		if (!dir.exists())
			dir.mkpath(DexClip::homePath);

		DexClip w;

		return a.exec();
	}
